package com.sky.service;

import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.result.PageResult;
import com.sky.result.Result;
import com.sky.vo.EmployeeLoginVO;

public interface EmployeeService {
	
	/**
	 * 员工登录
	 *
	 * @param employeeLoginDTO
	 * @return
	 */
	EmployeeLoginVO login(EmployeeLoginDTO employeeLoginDTO);
	
	/**
	 * 分页查询
	 */
	PageResult page(EmployeePageQueryDTO employeePageQueryDTO);
	
	/**
	 * 根据id查询
	 */
	Result getEmpById(Long id);
	
	/**
	 * 新增员工
	 */
	Result insert(EmployeeDTO employeeDTO);
	
	/**
	 * 更新员工
	 */
	Result update(EmployeeDTO employeeDTO);
	
	/**
	 * 修改员工账号活动状态
	 */
	Result banEmp(Integer status, Long id);
}
